package com.itheima.service;

import jakarta.servlet.http.HttpServletRequest;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface BorrowService {
    void borrow(Integer id, HttpServletRequest request);

    <Borrow> List<Borrow> display(HttpServletRequest request);

    void returnBook(Integer id);
}
